<HTML><HEAD><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><TITLE>Traceability Report for breathrate</TITLE><LINK rel="stylesheet" type="text/css" href="rtwreport.css" /><STYLE type="text/css">TABLE { border-style: outset; border-width: 1px; width: 100% } P { margin-top: 0; margin-bottom: 0 } PRE { margin: 0 }</STYLE><SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>

<SCRIPT language="JavaScript" type="text/javascript"> 
<!--
function rtwTraceHilite(file,ext,ln) { 
    function loc_hilite(file,ext,ln) { 
        if (top.rtwMainReloadNoPanel) top.rtwMainReloadNoPanel(file+"."+ext+":"+ln); 
        else window.location = file+"_"+ext+".html#"+ln; 
    } 
    var webviewFrame = top.document.getElementById('rtw_webviewMidFrame');
    if (webviewFrame) {
       loc_hilite(file,ext,ln);
       return;
    } else {
        if (top && top.rtwreport_document_frame) 
            top.rtwreport_document_frame.location.href = file+"_"+ext+".html#"+ln; 
    } 
}
//-->
</SCRIPT></HEAD><BODY ONLOAD="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdTraceability'); else local_onload();}} catch(err) {};"><DIV class="title" id="title"><H1>Traceability Report for breathrate</H1><DIV class="toc" id="toc"><H3>Table of Contents</H3><OL><LI><A href="#href_untraceable">Eliminated / Virtual Blocks</A></LI><LI><A href="#href_traceable">Traceable Simulink Blocks / Stateflow Objects / MATLAB Functions</A><UL class="toc_systems" id="toc_systems"><LI><A href="#href_sys0">breathrate</A></LI><LI><A href="#href_sys1">breathrate/FilterMain</A></LI><LI><A href="#href_sys2">breathrate/FilterMain/backward</A></LI></UL></LI></OL></DIV></DIV><DIV class="contents" id="contents"><DIV class="section1" id="sec_eliminated_virtual"><H3><A id="href_untraceable">Eliminated / Virtual Blocks</A></H3><TABLE class="AltRow" cellspacing="0"><TR><TH>Block Name</TH><TH>Comment</TH></TR><TR class="even"><TD><a href="matlab:coder.internal.code2model('breathrate:6')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/FilterMain</i></font></a></TD><TD><P>Eliminated by code generation optimization</P></TD></TR><TR class="odd"><TD><a href="matlab:coder.internal.code2model('breathrate:7')" name="code2model"><font color="#117755"><i>&lt;S1&gt;/In1</i></font></a></TD><TD><P>Inport</P></TD></TR><TR class="even"><TD><a href="matlab:coder.internal.code2model('breathrate:4')" name="code2model"><font color="#117755"><i>&lt;S1&gt;/backward</i></font></a></TD><TD><P>Eliminated by code generation optimization</P></TD></TR><TR class="odd"><TD><a href="matlab:coder.internal.code2model('breathrate:8')" name="code2model"><font color="#117755"><i>&lt;S1&gt;/brate</i></font></a></TD><TD><P>Outport</P></TD></TR><TR class="even"><TD><a href="matlab:coder.internal.code2model('breathrate:16')" name="code2model"><font color="#117755"><i>&lt;S1&gt;/len</i></font></a></TD><TD><P>Outport</P></TD></TR><TR class="odd"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1')" name="code2model"><font color="#117755"><i>&lt;S2&gt;:1</i></font></a></TD><TD><P>EMChart eliminated by optimization</P></TD></TR></TABLE></DIV><DIV class="section1" id="sec_traceable"><H3><A id="href_traceable">Traceable Simulink Blocks / Stateflow Objects / MATLAB Functions</A></H3><DIV class="section2" id="sec_traceable_1"><H4>Root system: <A id="href_sys0"><a href="matlab:coder.internal.code2model('breathrate')" name="code2model">breathrate</a></A></H4><TABLE class="AltRow" cellspacing="0"><TR><TH>Object Name</TH><TH>Code Location</TH></TR><TR class="even"><TD><a href="matlab:coder.internal.code2model('breathrate:22')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/In1</i></font></a></TD><TD><A href="javascript:rtwTraceHilite('breathrate','c','1064');">breathrate.c:1064</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1070');">1070</A></TD></TR><TR class="odd"><TD><a href="matlab:coder.internal.code2model('breathrate:5')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/brate_data</i></font></a></TD><TD><A href="javascript:rtwTraceHilite('breathrate','c','1120');">breathrate.c:1120</A></TD></TR><TR class="even"><TD><a href="matlab:coder.internal.code2model('breathrate:17')" name="code2model"><font color="#117755"><i>&lt;Root&gt;/len_data</i></font></a></TD><TD><A href="javascript:rtwTraceHilite('breathrate','c','1122');">breathrate.c:1122</A></TD></TR></TABLE></DIV><DIV class="section2" id="sec_traceable_2"><H4>Subsystem: <A id="href_sys1"><a href="matlab:coder.internal.code2model('breathrate:6')" name="code2model">breathrate/FilterMain</a></A></H4><TABLE class="AltRow" cellspacing="0"><TR><TH>Object Name</TH><TH>Code Location</TH></TR><TR class="even"><TD><a href="matlab:coder.internal.code2model('breathrate:15')" name="code2model"><font color="#117755"><i>&lt;S1&gt;/Lowpass2</i></font></a></TD><TD><A href="javascript:rtwTraceHilite('breathrate','c','1035');">breathrate.c:1035</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1037');">1037</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1038');">1038</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1039');">1039</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1040');">1040</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1041');">1041</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1042');">1042</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1043');">1043</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1044');">1044</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1045');">1045</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1046');">1046</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1047');">1047</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1048');">1048</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1049');">1049</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1050');">1050</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1051');">1051</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1052');">1052</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1053');">1053</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1054');">1054</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1055');">1055</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1058');">1058</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1059');">1059</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1060');">1060</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1061');">1061</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1063');">1063</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1064');">1064</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1065');">1065</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1066');">1066</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1067');">1067</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1068');">1068</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1069');">1069</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1070');">1070</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1071');">1071</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1072');">1072</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1073');">1073</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1074');">1074</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1075');">1075</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1076');">1076</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1077');">1077</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1078');">1078</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1079');">1079</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1080');">1080</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1081');">1081</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1082');">1082</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1083');">1083</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1084');">1084</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1089');">1089</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1093');">1093</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1095');">1095</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1143');">1143</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1144');">1144</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1145');">1145</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1146');">1146</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1147');">1147</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1148');">1148</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1149');">1149</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1150');">1150</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1151');">1151</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1152');">1152</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1153');">1153</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1154');">1154</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1155');">1155</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1157');">1157</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1160');">1160</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1161');">1161</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1162');">1162</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1163');">1163</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1164');">1164</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1165');">1165</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1166');">1166</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1167');">1167</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1168');">1168</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1169');">1169</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1170');">1170</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1171');">1171</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1172');">1172</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1173');">1173</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1174');">1174</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1175');">1175</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1177');">1177</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1178');">1178</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1179');">1179</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1180');">1180</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1181');">1181</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1182');">1182</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1183');">1183</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1184');">1184</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1185');">1185</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1186');">1186</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1187');">1187</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1188');">1188</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1189');">1189</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1190');">1190</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1191');">1191</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1192');">1192</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1199');">1199</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1200');">1200</A>, <A href="javascript:rtwTraceHilite('breathrate','c','1201');">1201</A></TD></TR></TABLE></DIV><DIV class="section2" id="sec_traceable_3"><H4>MATLAB Function: <A id="href_sys2"><a href="matlab:coder.internal.code2model('breathrate:4')" name="code2model">breathrate/FilterMain/backward</a></A></H4><TABLE class="eml"><TR><TH></TH><TH>Script</TH><TH>Code Location</TH></TR>
<TR class="d0"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:1','breathrate:4')" name="code2model" class="code2model">1</a></TD><TD><PRE>function [breathrate,len] = fcn(u)</PRE></TD><TD></TD></TR>
<TR class="d1"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:2','breathrate:4')" name="code2model" class="code2model">2</a></TD><TD><PRE>u=single(u);</PRE></TD><TD></TD></TR>
<TR class="d0"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:3','breathrate:4')" name="code2model" class="code2model">3</a></TD><TD><PRE>Diff1=diff(u);</PRE></TD><TD></TD></TR>
<TR class="d1"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:4','breathrate:4')" name="code2model" class="code2model">4</a></TD><TD><PRE>[maxv,maxl]=findpeaks(Diff1,'minpeakd <FONT color="blue">...</FONT></PRE></TD><TD></TD></TR>
<TR class="d0"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:5','breathrate:4')" name="code2model" class="code2model">5</a></TD><TD><PRE>outputArg=mean(diff(maxl));</PRE></TD><TD></TD></TR>
<TR class="d1"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:6','breathrate:4')" name="code2model" class="code2model">6</a></TD><TD><PRE>len = single(length(maxl));</PRE></TD><TD></TD></TR>
<TR class="d0"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:7','breathrate:4')" name="code2model" class="code2model">7</a></TD><TD><PRE>breathrate = single(outputArg / 15);</PRE></TD><TD></TD></TR>
<TR class="d1"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:8','breathrate:4')" name="code2model" class="code2model">8</a></TD><TD><PRE></PRE></TD><TD></TD></TR>
<TR class="d0"><TD><a href="matlab:coder.internal.code2model('breathrate:4:1:9','breathrate:4')" name="code2model" class="code2model">9</a></TD><TD><PRE>end</PRE></TD><TD></TD></TR></TABLE></DIV></DIV></DIV></BODY></HTML>